<?php 
	//date_default_timezone_set('Asia/Phnom_Penh'); 
?>	
<?php 
	require_once("global_function.php"); 
	$serverPath = getBaseUrl()."/";
    if(isset($_GET['loadPage']) && !empty($_GET['loadPage'])){
        $loadPage = $_GET['loadPage'];
    }else{
        $loadPage = "accueil";
    }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
  <head>
    <meta charset="utf-8">
    <title> N&W - d'aide à la concertation </title>
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo $serverPath;?>/favicon.ico">
    <link href="<?php echo $serverPath;?>css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">
    <link href="<?php echo $serverPath;?>css/bootstrap-custom.css" rel="stylesheet" type="text/css"/>

</head> 
<body>
<div id="wrapper">
    <nav class="navbar navbar-default navbar-static-top" role="navigation" id="top-nav" style="margin-bottom: 0">
        <div class="navbar-header">
            <a class="navbar-brand" href="#/" >Application d'aide à la concertation</a>
        </div>
    </nav>
    <div id="cus-content"></div>
    <nav class="navbar navbar-default navbar-fixed-bottom cus-bottom-tab" id="bottom-tab" role="navigation">
        <ul class="nav nav-tabs nav-justified">
            <li <?php if($loadPage=='accueil'){echo 'class="active"';}?>><a href="accueil.html" serverPath="<?php echo $serverPath;?>">Accueil</a></li>
            <li <?php if($loadPage=='fiche-acteur'){echo 'class="active"';}?>><a href="fiche-acteur.html" serverPath="<?php echo $serverPath;?>">Fiche acteur</a></li>
            <li <?php if($loadPage=='RDV-contact-acteur'){echo 'class="active"';}?>><a href="RDV-contact-acteur.html" serverPath="<?php echo $serverPath;?>">RDV ... Contact Acteur</a></li>
            <li <?php if($loadPage=='analyses-principales'){echo 'class="active"';}?>><a href="analyses-principales.html" serverPath="<?php echo $serverPath;?>">Analyses principales</a></li>
            <li <?php if($loadPage=='autres-donnees'){echo 'class="active"';}?>><a href="autres-donnees.html" serverPath="<?php echo $serverPath;?>">Autres données</a></li>
        </ul>
    </nav>
</div>
<div class="blocker"> <div class="blockerOpacity"></div> <div class="container"><div class="content"><div class="circle"></div><div class="circle1"></div> </div></div>
</div>
<script type="text/javascript" src="<?php echo $serverPath;?>js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="<?php echo $serverPath;?>js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo $serverPath;?>js/plugin/jqBootstrapValidation.js"></script>
<script type="text/javascript" src="<?php echo $serverPath;?>js/script.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        loadPage("<?php echo $loadPage; ?>","<?php echo $serverPath;?>");
    });
</script>
</body>
</html>